package com.firmboy.dao;

import com.firmboy.model.Student;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.RepositoryDefinition;


/**
 * Created by SunQiPeng on 2016/11/14.
 */
@RepositoryDefinition(domainClass = Student.class,idClass = Long.class)
public interface StudentRepository extends CrudRepository<Student, Long>,PagingAndSortingRepository<Student,Long>{
    void sayHello();
}
